// 接口声明函数与接口声明合并
{
  interface Pay {
    (price: number): boolean
  }

  const WePay: Pay = (price: number) => {
    return true
  }


  // 接口合并
  interface MergeInterface {
    func1(): void
  }
  interface MergeInterface {
    func2(): void
  }
  // 接口不是覆盖而是合并
  class Merge implements MergeInterface {
    func1() { }
    func2() { }
  }
}